﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Examin
{
    /// <summary>
    /// 通知记录表
    /// </summary>
    [Table("approvalnotificationmodel")]
    public class ApprovalNotificationModel:BaseEntity
    {
        /// <summary>
        /// 接收人
        /// </summary>
        public string receiver { get; set; } 
        /// <summary>
        /// 通知标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 通知内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 类型：系统/电子邮件/短信
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime sentTime { get; set; }
        /// <summary>
        /// 是否成功发送 0：失败 1：成功
        /// </summary>
        public bool IsSuccess { get; set; }
        /// <summary>
        /// 实例ID
        /// </summary>
        public long flowId { get; set; }
    }
}
